package com.smart.campus.service;

import com.smart.campus.dto.SysRole;
import com.smart.campus.pojo.PagedResponse;

import java.util.List;

public interface SysRoleService {
    List<SysRole> findSysRoleList();

    PagedResponse<SysRole> pageRole(SysRole sysRole, Integer pageNum, Integer pageSize);

    void addRole(SysRole sysRole);

    void delSysRole(Integer roleId);

    SysRole findRoleById(Integer roleId);

    void updateRole(SysRole sysRole);

    void updateRoleStatus(SysRole sysRole);
}
